tools: Use POSIX poll.h instead of sys/poll.h
authorAlistair Francis <alistair.francis@xilinx.com>
Mon, 17 Apr 2017 21:33:10 +0000 (14:33 -0700)
committerWei Liu <wei.liu2@citrix.com>
Tue, 18 Apr 2017 16:03:49 +0000 (17:03 +0100)
commit4703a9ba9bb0c9c2804813ffe0943177d5f96039
treef05e31cae4b8287f7f8cf0980ba38637fc874057
parente412c03be25dee8202a440b973561afd8ab6d868
tools: Use POSIX poll.h instead of sys/poll.h

The POSIX spec specifies to use:
    #include <poll.h>
instead of:
    #include <sys/poll.h>
as seen here:
    http://pubs.opengroup.org/onlinepubs/009695399/functions/poll.html

This removes the warning:
    #warning redirecting incorrect #include <sys/poll.h> to <poll.h>
when building with the musl C-library.

Signed-off-by: Alistair Francis <alistair.francis@xilinx.com>
Acked-by: Wei Liu <wei.liu2@citrix.com>
Acked-by: Razvan Cojocaru <rcojocaru@bitdefender.com>
Acked-by: Ian Jackson <ian.jackson@eu.citrix.com>
Release-acked-by: Julien Grall <julien.grall@arm.com>
tools/libxl/libxl_internal.h
tools/tests/xen-access/xen-access.c
tools/xenstat/libxenstat/src/xenstat_qmp.c
tools/xentrace/xentrace.c